package com.cloud.logger.zchain.zchainserver;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.kafka.annotation.EnableKafka;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ServletComponentScan
@MapperScan("com.cloud.logger.zchain.zchainserver.mapper")
@EnableKafka
@ComponentScan({"com.cloud.logger.zchain"})
@EnableScheduling
public class ZchainServerApplication {

	public static void main(String[] args) throws InterruptedException {
		SpringApplication.run(ZchainServerApplication.class, args);
	}
}
